package com.zk.zhikaoyun.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zk.zhikaoyun.common.api.ApiRest;
import com.zk.zhikaoyun.common.api.PageApiRest;
import com.zk.zhikaoyun.common.dto.PageDTO;
import com.zk.zhikaoyun.exam.dto.ExamSaveDTO;
import com.zk.zhikaoyun.exam.entity.ElExamEntity;

import java.util.List;

/**
 * 作者：不是凡凡，是鹿晗
 * 时间：2022/11/19 11:40
 * 描述：遇事不决，及时摆烂
 */
public interface ExamService extends IService<ElExamEntity> {

    public ApiRest createExam(ExamSaveDTO examSaveDTO);

    public PageApiRest<List<ElExamEntity>> page(PageDTO<ElExamEntity> elExamPageDTO);
}
